package com.ruoyi.extdata.service;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.bizsys.domain.CustomerCrsReport;
import com.ruoyi.bizsys.domain.ExtIdentityResult;

/**
 * @author cyh
 * @Date: 2021/8/13 16:40 下午
 */
public interface ICrsService {


    /**
     * 登陆鉴权
     *
     * @return
     */
    JSONObject authentication();

    /**
     * 查找bvn
     *
     * @param bvn
     * @return
     */
    ExtIdentityResult findByBvn2(String userId,String bvn);

    /**
     * 获取SessionCode
     *
     * @return
     */
    String getSessionCode();

    /**
     * @return
     */
    JSONObject getPaymentProfile(String accountOwnerIDs,String userId);

    /**
     * @param accountOwnerIDs
     * @return
     */
    JSONObject getData2(String accountOwnerIDs, String bvn, String userId);

    CustomerCrsReport createCrsReportAsync(String registerId,String userId, String bvn);


    CustomerCrsReport getConsumerFullCreditReport(String userId, String bvn);

}
